<template>
	<view class="">
		<view class="main-con">
			<jyf-parser :html="dataInfo.detail"></jyf-parser>
		</view>
	</view>
</template>

<script>
	import jyfParser from "@/components/jyf-parser/jyf-parser.vue"
	export default {
		components:{
			jyfParser
		},
		data(){
			return {
				dataInfo:{}
			}
		},
		onLoad() {
			const dataInfo=getApp().globalData.noticeItem;
			console.log(dataInfo)
			this.dataInfo=dataInfo;
			this.setNavTitle(dataInfo.title);
		}
	}
</script>

<style scoped>
	.main-con{
		padding: 20upx;
	}
</style>
